package com.shortlink.admin.dto.req.shortlinkstats;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDate;

/**
 * 分组短链接监控查询参数
 *
 * @author wp
 */
@NoArgsConstructor
@AllArgsConstructor
@Setter
@Getter
public class GroupShortLinkStatsReqDTO {
    /**
     * 分组ID
     */
    private Long gid;
    /**
     * 开始日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate startDate;
    /**
     * 结束日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate endDate;
}
